package com.meida.module.bus.client.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.meida.common.mybatis.base.entity.AbstractEntity;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import com.meida.common.mybatis.annotation.TableAlias;

/**
 * 
 *
 * @author flyme
 * @date 2022-03-01
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("bus_hehuan")
@TableAlias("hehuan")
@ApiModel(value="BusHehuan对象", description="")
public class BusHehuan extends AbstractEntity {

private static final long serialVersionUID=1L;

    @ApiModelProperty(value = "唯一Id")
    @TableId(value = "hehuanId", type = IdType.ASSIGN_ID)
    private String hehuanId;

    @ApiModelProperty(value = "购买人姓名")
    private String name;

    @ApiModelProperty(value = "购买人手机号")
    private String phone;

    @ApiModelProperty(value = "推荐人姓名")
    private String saleName;

    @ApiModelProperty(value = "购买类型")
    private String type;

    @ApiModelProperty(value = "支付状态（1支付成功，0支付失败，2待支付）")
    private Integer payStyle;

    @ApiModelProperty(value = "付款金额")
    private String pay;

    @ApiModelProperty(value = "订单编号")
    private String orderNum;

    @ApiModelProperty(value = "会员状态（0无，1正常，2已退，3到期）")
    private Integer style;

    @ApiModelProperty(value = "激活码")
    private String code;

    @ApiModelProperty(value = "创建日期")
    private String createDate;

}
